package com.kldy8.kldyw.filmfactory.bean;

import org.json.JSONObject;

/**
 * 影视人才
 * Created by Administrator on 2016/9/5.
 */
public class FilmTalent
{
    public String rencai_require_id;
    public String title;
    public String position;
    public String price;
    public String price_unit;
    public String description;
    public String logo;
    public String city;
    public String areaname;
    public String url;

    public static FilmTalent resolution(JSONObject jsonObject)
    {
        if (jsonObject == null)
        {
            return  null;
        }
        FilmTalent m_new = new FilmTalent();
        m_new.rencai_require_id = jsonObject.optString("rencai_require_id");
        m_new.title = jsonObject.optString("title");
        m_new.position = jsonObject.optString("position");
        m_new.price = jsonObject.optString("price");
        m_new.price_unit = jsonObject.optString("price_unit");
        m_new.description = jsonObject.optString("description");
        m_new.logo = jsonObject.optString("image");
        m_new.city = jsonObject.optString("city");
        m_new.areaname = jsonObject.optString("areaname");
        m_new.url = jsonObject.optString("url");
        return m_new;
    }
}
